package com.atguigu.eduservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "service-order")
public interface OrderClient {
    @GetMapping("/eduorder/order/isBuyCourse")
    public boolean isBuyCourse(@RequestParam("courseId") String courseId, @RequestParam("memberId") String memberId);
}
